.scrivito_dialog [data-colors-list] {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #555;
  display: block;
  font-size: 14px;
  min-height: 71px;
  margin: 0;
  padding: 6px 12px;
  width: 100%;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight: normal;
}
.scrivito_dialog [data-colors-list] .scrivito-color-select {
  padding: 3px;
  font-size: 0px;
  line-height: 10px;
  width: 45px;
  height: 45px;
  overflow: hidden;
  position: relative;
  border: 0;
  margin: 0 5px 0 0;
  box-shadow: 0 0 4px 1px rgba(0,0,0,0.1);
  border-radius: 3px;
  background: transparent;
  top: -5px;
  outline: none;
}

.scrivito_dialog [data-colors-list] .scrivito-color-select.active {
  width: 55px;
  height: 55px;
  top: 0;
}

.scrivito_dialog [data-colors-list] .scrivito-color-select.none {
  font-size: 10px;
}

.scrivito_dialog [data-colors-list].with-text .scrivito-color-select:after {
  content: 'Lorem Ipsum dolor';
  font-size: 11px;
  line-height: 13px;
  padding-top: 3px;
}

.scrivito_dialog [data-colors-list].with-text .scrivito-color-select.active:after {
  padding-top: 8px;
}

.scrivito_dialog [data-colors-list] .scrivito-color-select:before {
  content: '';
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #33312d 25%, transparent 25%, transparent 75%, #33312d 75%, #33312d),
    linear-gradient(45deg, #33312d 25%, transparent 25%, transparent 75%, #33312d 75%, #33312d);

  background-size: 20px 20px;
  background-position:0 0, 30px 30px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.scrivito_dialog [data-colors-list] .scrivito-color-select:after {
  content: '';
  background: inherit;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}